home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VCONTOUR.S < prev    next >
Text File  |  1993-03-16  |  946b  |  37 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Contour fill.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _v_contourfill
  11. _v_contourfill:
  12. ;    .cargs    #8,handle.w,x.w,y.w,index.w
  13.  
  14. handle      =         8
  15. x          =         10
  16. y          =         12
  17. index      =         14
  18.  
  19.           link        a6,#0
  20.  
  21. ;          VContrl    #103,,#1,#1
  22.           move.w    handle(a6),-(sp)    ; contrl[6]
  23.           clr.l     -(sp)                ; contrl[5,4]
  24.           move.w    #1,-(sp)            ; contrl[3]
  25.           subq.l    #2,sp                ; contrl[2]
  26.           move.w    #1,-(sp)            ; contrl[1]
  27.           move.w    #103,-(sp)            ; contrl[0]
  28.  
  29.           subq.l    #8,sp                ;* -> ptsout, intout
  30.           pea        x(a6)                ;* -> ptsin
  31.           pea        index(a6)            ;* -> intin
  32.           pea        16(sp)                ;* -> contrl
  33.  
  34.           jmp        vdicall
  35.  
  36.           end
  37.